const path = require('path')

function resolve(dir) {
    return path.join(__dirname, dir)
}

module.exports = {
    transpileDependencies: ['uview-ui', '@dcloudio/uni-ui'],
    configureWebpack: {
        name: "seg_ui",
        resolve: {
            alias: {
                '@': resolve('src')
            }
        }
    }
}
